package com.cherrypt.api.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ApiModel(description = "发布时需要的参数model")
@Getter
@Setter
@ToString
public class ReleaseVo {

    @ApiModelProperty(value = "id类型", example = "douban")
    private String idType;

    @ApiModelProperty(value = "id", example = "4030964")
    private Integer id;

    @ApiModelProperty(value = "分类id", example = "1", required = true)
    private Integer categoryId;

    @ApiModelProperty(value = "分辨率", example = "Other", required = true)
    private String resolution;

    @ApiModelProperty(value = "编码", example = "Other", required = true)
    private String codec;

    @ApiModelProperty(value = "媒介", example = "Other", required = true)
    private String medium;

    @ApiModelProperty(value = "音质", example = "Other", required = true)
    private String audio;

    @ApiModelProperty(value = "标题", example = "xxx", required = true)
    private String title;

    @ApiModelProperty(value = "子标题", example = "xxx", required = true)
    private String subtitle;

    @ApiModelProperty(value = "内容", example = "# Other", required = true)
    private String content;

    @ApiModelProperty(value = "系列集合", example = "[{name: 'test'},{name: 'test2'}]", required = true)
    private SeriesVo[] series;
}
